package com.buer.train.common.holder;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 *
 * @ProjectName:
 * @Package:        com.buer.train.common.holder
 * @ClassName:      LoginUser
 * @Description:    java类作用描述
 * @Author:         lds
 * @CreateDate:     2021/1/14 17:25
 * @UpdateUser:     更新者
 * @UpdateDate:     2021/1/14 17:25
 * @UpdateRemark:   更新内容
 * @Version:        1.0
 */
public class LoginUser implements Serializable{
    private int userId;
    private String userName;
    private String name;
    private int deptId;
    //当前节点
    private int nodeDeptId;
    //当前下级节点
   private Set<Integer> nodeDepts;


    private String requestType;
    private String token;
    private List<String> resources;

    //角色标示
    private String roleSign;


    public int getNodeDeptId() {
        return nodeDeptId;
    }

    public void setNodeDeptId(int nodeDeptId) {
        this.nodeDeptId = nodeDeptId;
    }

    public Set<Integer> getNodeDepts() {
        return nodeDepts;
    }

    public void setNodeDepts(Set<Integer> nodeDepts) {
        this.nodeDepts = nodeDepts;
    }

    public String getRoleSign() {
        return roleSign;
    }

    public void setRoleSign(String roleSign) {
        this.roleSign = roleSign;
    }

    public List<String> getResources() {
        return resources;
    }

    public void setResources(List<String> resources) {
        this.resources = resources;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
